package com.shuai.jit.entity.school;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 行政区划分表,用于省市县的选择
 * </p>
 *
 * @author joker
 * @since 2021-01-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysArea implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 上级id,0代表顶级
     */
    private String superId;

    /**
     * 排序号,用一级下数值越小越靠前
     */
    private Integer disSort;

    /**
     * 名称
     */
    private String disName;

    /**
     * 备注
     */
    private String disDesc;


}
